package com.sc.web.gwt.shared.model;

import com.extjs.gxt.ui.client.data.BaseModelData;
import com.google.gwt.user.client.rpc.IsSerializable;

public class UserAccount extends BaseModelData implements IsSerializable {
    private int userAccountId;
    private String userAccount;
    private int authenticatorId;
    private int agentAdminId;
    private int stateId;
    private int siteId;
    private String firstName;
    private String lastName;
    private String identityNumber;
    private String dob;
    private String email;
    private String address;
    private String city;
    private String nation;
    private String siteName;
    private String state;
    private String seed;
    private String accountCode;

    public UserAccount() {
        userAccountId = -1;
    }

    public UserAccount(int userAccountId, String userAccount, int authenticatorId, int siteId, int stateId,
                       String firstName, String lastName, String identityNumber,
                       String dob, String email, String address, String city, String nation,
                       String siteName, String state, String seed, String accountCode) {
        setUserAccountId(userAccountId);
        setUserAccount(userAccount);
        setAuthenticatorId(authenticatorId);
        setSiteName(siteName);
        setSiteId(siteId);
        setStateId(stateId);
        setFirstName(firstName);
        setLastName(lastName);
        setIdentityNumber(identityNumber);
        setDob(dob);
        setEmail(email);
        setAddress(address);
        setCity(city);
        setNation(nation);
        setSiteName(siteName);
        setState(state);
        setSeed(seed);
        setAccountCode(accountCode);
    }

    public String getAccountCode() {
        return get("accountCode");
    }

    public void setAccountCode(String accountCode) {
        set("accountCode", accountCode);
    }

    public int getSiteId() {
        return (Integer) get("siteId");
    }

    public void setSiteId(int siteId) {
        set("siteId", siteId);
    }

    public int getUserAccountId() {
        return (Integer) get("userAccountId");
    }

    public void setUserAccountId(int userAccountId) {
        set("userAccountId", userAccountId);
    }

    public int getAuthenticatorId() {
        return (Integer) get("authenticatorId");
    }

    public void setAuthenticatorId(int authenticatorId) {
        set("authenticatorId", authenticatorId);
    }

    public int getAgentAdminId() {
        return (Integer) get("agentAdminId");
    }

    public void setAgentAdminId(int agentAdminId) {
        set("agentAdminId", agentAdminId);
    }

    public int getStateId() {
        return (Integer) get("stateId");
    }

    public void setStateId(int stateId) {
        set("stateId", stateId);
    }

    public String getFirstName() {
        return get("firstName");
    }

    public void setFirstName(String firstName) {
        set("firstName", firstName);
    }

    public String getUserAccount() {
        return get("userAccount");
    }

    public void setUserAccount(String userAccount) {
        set("userAccount", userAccount);
    }

    public String getSeed() {
        return get("seed");
    }

    public void setSeed(String seed) {
        set("seed", seed);
    }

    public String getPin() {
        return get("pin");
    }

    public void setPin(String pin) {
        set("pin", pin);
    }

    public String getEvent() {
        return get("event");
    }

    public void setEvent(String event) {
        set("event", event);
    }

    public String getState() {
        return get("state");
    }

    public void setState(String state) {
        set("state", state);
    }

    public String getLastName() {
        return get("lastName");
    }

    public void setLastName(String lastName) {
        set("lastName", lastName);
    }

    public String getIdentityNumber() {
        return get("identityNumber");
    }

    public void setIdentityNumber(String identityNumber) {
        set("identityNumber", identityNumber);
    }

    public String getEmail() {
        return get("email");
    }

    public void setEmail(String email) {
        set("email", email);
    }

    public String getDob() {
        return get("dob");
    }

    public void setDob(String dob) {
        set("dob", dob);
    }

    public String getAddress() {
        return get("address");
    }

    public void setAddress(String address) {
        set("address", address);
    }

    public String getCity() {
        return get("city");
    }

    public void setCity(String city) {
        set("city", city);
    }

    public String getNation() {
        return get("nation");
    }

    public void setNation(String nation) {
        set("nation", nation);
    }

    public String getSiteName() {
        return get("siteName");
    }

    public void setSiteName(String siteName) {
        set("siteName", siteName);
    }
}